<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="java.util.*,com.autoMobile.bean.rrmSgjl,com.autoMobile.dao.rrmbxDao" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>申请理赔</title>
    <link rel="stylesheet" href="/JH/styles.css">
</head>
<body style="background: transparent;">
    <div class="form-container">
        <h2>修改理赔申请</h2>
                        <%

                            rrmSgjl sgjl =new rrmSgjl();

                            rrmbxDao bxdao =new rrmbxDao();
                bxdao.listSgjl();
                System.out.println("驾驶员"+sgjl.getJsy());
                
                %>
      <form action="/javaWeb24_12_war_exploded/UpdateSgjlServlet" method="post">
    <div class="form-group">
        <label>事故类型</label>
        <select class="form-control" name="sglx" required>
            <option value="碰撞事故" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("碰撞事故") ? "selected" : "" %>>碰撞事故</option>
<option value="刮蹭事故" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("刮蹭事故") ? "selected" : "" %>>刮蹭事故</option>
<option value="自然灾害" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("自然灾害") ? "selected" : "" %>>自然灾害</option>
<option value="其他" <%= sgjl.getSglx() != null && sgjl.getSglx().equals("其他") ? "selected" : "" %>>其他</option>

        </select>
    </div>
          <div class="form-group">
              <label>id</label>
              <input type="text" name="id" class="form-control" value="${param.id} " readonly required>
          </div>
    <div class="form-group">
        <label>驾驶员</label>
        <input type="text" name="jsy" class="form-control" value="${param.jsy} " required>
    </div>

    <div class="form-group">
        <label>车牌号</label>
        <input type="text" name="cph" class="form-control" value="${param.cph} " required>
    </div>

    <div class="form-group">
        <label>事故时间</label>
        <input type="text" name="sgsj" class="form-control" value="${param.sgsj} " required>
    </div>

    <div class="form-group">
        <label>事故地点</label>
        <input type="text" name="sgdd" class="form-control" value="${param.sgdd} " required>
    </div>

    <div class="form-group">
        <label>详细描述</label>
        <input type="text" name="xxms" class="form-control" value="${param.xxms} " required>
    </div>
    <div class="form-group">
        <label>理赔金额</label>
        <input type="text" name="lpje" class="form-control" value="${param.lpje} " required>
    </div>

    <div class="form-footer">
        <button type="submit" class="btn">提交报告</button>
    </div>
</form>

    </div>
</body>
</html> 